package com.ruoyi.quality.domain.vo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class InspectionItemVo {

    /**
     *
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     *
     */
    private String code;

    /**
     *
     */
    private String createBy;

    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     *
     */
    private String updateBy;

    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     *
     */
    private Boolean delFlag;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private String remark;

    /**
     *
     */
    private Boolean status;

    /**
     *
     */
    private Integer lowerTolerance;

    /**
     *
     */
    private Integer upperTolerance;

    /**
     *
     */
    private String requirement;

    /**
     * 检测量
     */
    private Integer fillQty;

    /**
     * 检验分类:性能和非性能
     */
    private String fillType;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long samplingId;

    /**
     * 抽样名称
     */
    private String samplingName;


    /**
     * 单位
     */
    private String unit;

    /**
     * 测试方法
     */
    private String testMethod;

    /**
     * 进度
     */
    private String process;

    /**
     * 制备周期
     */
    private Integer makePeriod;

    /**
     * 静置周期
     */
    private Integer standingPeriod;

    /**
     * 结果输出
     */
    private Integer resultOutput;


    /**
     * 是否配置公差
     */
    private String tolerance;

    /**
     * 是否合格
     */
    private String qualified;




    /**
     *
     */

    /**
     * 材料原材
     */
    private String materialType;

    /**
     * 材料来源
     */
    private String materialOrigin;

    /**
     * input 填写数值(公差) select下拉(是否合格);
     */
    private String operationType;

    /**
     * 失效模式
     */
    private String failurePattern;

    /**
     * 标砖公差1;
     */
    private String standardToleranceOne;

    /**
     * 标准公差2
     */
    private String standardToleranceTwo;


}
